﻿using EkStudio.com.bean.xml.reflection;
using EkStudio.com.bean.xml.RootInterface;
using EkStudio.com.bean.xml.WorkFlow.Node;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EkStudio.com.bean.xml.WorkFlow
{
    public class WflowModuleEventRoot: BillObjectInterface
    {
        private WflowEventPluginModule moduleEvent = null;//模块事件
        private WflowEventPluginNodeList eventNodeList = null;//节点事件


        [XmlElement]
        public WflowEventPluginModule ModuleEvent
        {
            get
            {
                return moduleEvent;
            }

            set
            {
                moduleEvent = value;
            }
        }
        [XmlElement]
        public WflowEventPluginNodeList EventNodeList
        {
            get
            {
                return eventNodeList;
            }

            set
            {
                eventNodeList = value;
            }
        }
        [XmlTransient]
        public object ParentBean
        {
            get
            {
                throw new NotImplementedException();
            }

            set
            {
                throw new NotImplementedException();
            }
        }

        public object Clone()
        {
            WflowModuleEventRoot clone = new WflowModuleEventRoot();
            clone.EventNodeList = new WflowEventPluginNodeList();
            clone.ModuleEvent = new WflowEventPluginModule();
            return clone;
        }
    }
}
